package cn.stylefeng.guns.modular.business.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 检索词典实例类
 *
 * @author zhangyaowen
 * @date 2021/08/30 10:17
 */
@TableName("sub_dic")
@Data
@EqualsAndHashCode(callSuper = true)
public class SubDic extends BaseEntity {

    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 对应名
     */
    @TableField("dic_aname")
    private String dicAname;

    /**
     * 分类名
     */
    @TableField("dic_zname")
    private String dicZname;

    /**
     * 1:城镇、2:河道
     */
    @TableField("dic_type")
    private Long dicType;

}